package com.zx.pm.modules.zx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zx.pm.common.service.CrudService;
import com.zx.pm.modules.zx.dao.TenderSectionDao;
import com.zx.pm.modules.zx.entity.TenderSection;

@Service
@Transactional(readOnly = true)
public class TenderSectionService extends CrudService<TenderSectionDao, TenderSection>{

	public List<TenderSection> getSectionListByLzdId(String lzdId, String restStartFalg){
		return dao.getSectionListByLzdId(lzdId, restStartFalg);
	}
	
	@Transactional(readOnly = false)
	public void delById(String id) {
		dao.delById(id);
	}
	
	@Transactional(readOnly = false)
	public void delBylzdId(String lzdId) {
		dao.delBylzdId(lzdId);
	}
}
